export const promptConfig = [
  {
    type: 'list',
    name: 'packageManager',
    message: 'Which package manager do you want to use?',
    choices: ['npm', 'yarn', 'pnpm'],
  },
  {
    type: 'list',
    name: 'framework',
    message: 'Which framework does your project use?',
    initial: 0,
    choices: [
      { message: 'React', name: 'react' },
      { message: 'Vue.js', name: 'vue' },
      { message: 'node', name: 'node' },
      { message: 'None of these', name: 'default' },
    ],
  },
];

export const fileList = [
  {
    type: 'eslint',
    configExt: '.cjs',
    saveExt: '.cjs',
  },
  {
    type: 'commitlint',
    saveExt: '.cjs',
  },
  {
    type: 'prettier',
    saveExt: '.cjs',
  },
  {
    type: 'npm',
    configExt: '',
    saveExt: '',
  },
];
